package redis;

import redis.clients.jedis.Jedis;

public class JedisTestString {

    public static void main(String[] args) {

        //连接redis
        Jedis jedis = new Jedis("192.168.153.128",6379);

        String set = jedis.set("k4", "v4");
        System.out.println(set);

        jedis.append("k4","abc");

        jedis.set("k5", "100");
        jedis.incr("k5");


    }



}
